﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true"
    CodeBehind="TinTuc.aspx.cs" Inherits="GreenLife.TinTuc" %>

<%--<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>--%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Repeater ID="listTinTuc" runat="server">
        <HeaderTemplate>
            <div id="newsd">
                <h1>
                    Tin tức</h1>
        </HeaderTemplate>
        <ItemTemplate>
            <div id="newsrows">
                <div id="newsimg">
                    <a href="ChiTietTinTuc.aspx?id=<%# DataBinder.Eval(Container.DataItem ,"NewsID") %>">
                        <asp:Image ID="imgNews" Width="100%" Height="100%" runat="server" ImageUrl='<%# Bind("Images") %>' /></a>
                </div>
                <div id="newscontent">
                    <h2>
                        <a class="linksub" href="ChiTietTinTuc.aspx?id=<%# DataBinder.Eval(Container.DataItem ,"NewsID") %>">
                            <%# Eval("Title") %></a></h2>
                    <p class="date">
                        <%# Eval("NewsDate") %></p>
                    <p>
                        <%# Eval("QuickTitle") %></p>
                    <p>
                        <a class="linkd" href="ChiTietTinTuc.aspx?id=<%# DataBinder.Eval(Container.DataItem ,"NewsID") %>">
                            chi tiet>></a></p>
                </div>
            </div>
        </ItemTemplate>
        <FooterTemplate>
            </div>
        </FooterTemplate>
    </asp:Repeater>
    <div id="navpage">
        <asp:Literal ID="ltlPhanTrang" runat="server" />
        <%--<cc1:CollectionPager ID="CollectionPager1" runat="server" BackNextDisplay="HyperLinks"
            BackNextLinkSeparator="" BackNextLocation="Left" BackText="" LabelText="" LastText=""
            NextText="" PageNumbersDisplay="Numbers" PageNumbersSeparator="&nbsp;" PagingMode="QueryString"
            ResultsFormat="" ResultsLocation="Bottom">
        </cc1:CollectionPager>--%>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
